package com.cn.lp.export.client.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by qirong on 2020/10/8.
 */
@Entity
@Table(name = "data_a")
public class DataA {

    @Id
    @Column(nullable = false, unique = true)
    protected long id;

    @Column
    private long bid;

    @Column
    private long cid;

    @Column
    private long did;

    public long getId() {
        return id;
    }

    public DataA setId(long id) {
        this.id = id;
        return this;
    }

    public long getBid() {
        return bid;
    }

    public DataA setBid(long bid) {
        this.bid = bid;
        return this;
    }

    public long getCid() {
        return cid;
    }

    public DataA setCid(long cid) {
        this.cid = cid;
        return this;
    }

    public long getDid() {
        return did;
    }

    public DataA setDid(long did) {
        this.did = did;
        return this;
    }
}
